package cn.com.lsy.product.lepao;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.scheduling.annotation.EnableAsync;
import org.springframework.scheduling.annotation.EnableScheduling;
import org.springframework.transaction.annotation.EnableTransactionManagement;

import java.io.IOException;
import java.text.ParseException;

@SpringBootApplication
@ComponentScan
@EnableTransactionManagement
@EnableScheduling
@EnableAsync
@MapperScan("cn.com.lsy.product.lepao.model")
public class LepaoAppApplication {

    public static void main(String[] args) throws IOException, ParseException {

        SpringApplication.run(LepaoAppApplication.class, args);

    }

}
